import request from '@/utils/request'

/**
 * 推荐活动
 */
export function getIndexData(data) {
  return request.get('/arvoEvent/remmqury', data, {
    login: false,
  })
}

/**
 * 活动中心
 */
export function getActivityData(data) {
  return request.get('/arvoEvent/list', data, {
    login: false,
  })
}

/**
 * 查询往期活动信息
 */
export function getHistoryData(data) {
  return request.get('/arvoEvent/conf', data, {
    login: false,
  })
}

/**
 * 活动详情
 */
export function getDetailById(data) {
  return request.get('/arvoEvent/findeventid', data, {
    login: false,
  })
}


/**
 * 协会详情
 */
export function groupdDetail(data) {
  return request.get('/arvoAss/findbyid', data, {
    login: false,
  })
}


/**
 * 发票列表
 */
export function invoiceList(data) {
  return request.get('/arvoInvoice/list', data, {
    login: true,
  })
}